/**
 * 
 */
package soa.security.dao;

import java.util.List;
import java.util.Map;

import org.springframework.ldap.query.SearchScope;

import soa.security.domain.Person;
import soa.security.domain.Position;

/**
 * @author Cre.Gu
 *
 */
public interface PositionDao extends SpringLdapDao<Position> {

	List<Position> allPositions(String string, SearchScope defaultSearchScope,
			Map<String, Object> parameters);

	void addPersons(Position position, Person pe);

	void removePersons(Position position, Person pe);

	List<String> allPersons(Position position);

}
